var livraisonAppTemplate = "\
	<td class='select'>" +
			"{{#if isAdmin}}<input type='checkbox' class='statutsItem' />{{/if}}" +
			"{{#if isWebapp}}<img class='webapp statutsItem' src ='image/cleardot.gif'/>{{/if}}" +
	"</td>\
	<td class='application'>{{application.name}}</td>\
	<td>{{application.version}}</td>\
	<td>\
	{{#if onPeutChanger}}\
		<select class='devList'>\
			<option value=''>Aucun</option>\
		</select>\
	{{else}}\
		{{#if developpeur}}{{developpeur.name}}{{/if}}\
	{{/if}}\
	</td>\
	<td class='{{etat}}'></td>\
	<td class='fin'>{{#if enCours}}<div class='button' id='terminer'>Terminer</div>{{/if}}</td>\
"

var livraisonAppTemplateMobile = "<div>\
	<span><b>{{application.name}}</b></span>\
	<span>{{application.version}}</span>\
	<span>\
		<br/>{{#if developpeur}}{{developpeur.name}}{{/if}}\
	</span>\
	<span class='{{etat}}'></span></div>\
"
			
	
var livraisonTermineAppTemplate = "\
	<td class='application'>{{application.name}}</td>\
	<td>{{application.version}}</td>\
	<td>{{#if developpeur}}{{developpeur.name}}{{/if}}</td>\
	<td class='{{etat}}'></td>\
"	
	
var livraisonTemplate = "\
	{{#if termine}}" +
		"<td><div class='poubelle idAdmin hide'></div></td>\
		<td><a href='livraisonTermine.html#{{identifiant}}' class='termine'>Livraison du {{date}} {{#if name}} ({{name}}) {{/if}}</a></td>" +
	"{{else}}" +
		"<td/>" +
		"<td><a href='livraison.html#{{identifiant}}'>Livraison du {{date}} {{#if name}} ({{name}}) {{/if}}</a></td>\
	{{/if}}\
"
		
var livraisonTemplateMobile = "\
	{{#if termine}}" +
		"<a href='livraison.html#{{identifiant}}' class='termine'><div><b>Livraison du {{date}}</b> {{#if name}} </br>{{name}} {{/if}}</div></a>" +
	"{{else}}" +
		"<a href='livraison.html#{{identifiant}}'><div><b>Livraison du {{date}} {{#if name}} </b></br>{{name}} {{/if}}</div></a>\
	{{/if}}\
"		
	
var applicationTemplate = "" +
	"<td>" +
		"<div class='name'>{{name}}</div>" +
	"</td>" +
	"<td>" +
		"<input type='text' class='priorite' value='{{priorite}}'/>" +
	"</td>" +
	"<td>" +
		"<select >" +
		"<option value='ON_SAIT_PAS'>?</option>" +
		"<option value='COMPOSANT'>Composant</option>" +
		"<option value='WEBAPP'>WebApp</option>" +
		"</select>"+
	"</td>"
		
	
var delimiterTemplate = "\
	<tr class='delimiteur'>\
	<td/>\
	<td/>\
	<td/>\
	<td/>\
	<td/>\
	<td/>\
	</tr>"
	
var achievementTemplate = ""+
"<tr>"+
	"<td><canvas id='canvas' width='100' height='18'/></td>" +
	"<td>{{name}}</td>"+
"</tr>"	